function run_test(name, t, k, qf, typ, arg)
%    clear stego cover htr mstego mcover mtr pstego pcover ptr
    cover_path = ['/run/media/sean/works/images/BossBase/1.01/MME_cover/',name,'/'];
    stego_path = ['/run/media/sean/works/images/BossBase/1.01/MME_stego/',name,'/'];
    input_path = '/run/media/sean/works/images/BossBase/1.01/BossBase-1.01-cover/';
%     cover_path = ['/media/win_d/mmeresult/cover_',name];
%     stego_path = ['/media/win_d/mmeresult/stego_',name];
%     input_path = ['/media/win_d/ucid.v2'];
    output_fname = ['/run/media/sean/works/images/BossBase/1.01/',name,'.mat'];
    settings = struct('t',t,'k',k,'qf',qf,'typ',typ,'arg',arg);
    embed_dir(input_path, cover_path, stego_path, t, k, qf, typ, arg);
    save(output_fname, 'settings');
%    load(output_fname, 'stego', 'cover', 'mstego', 'mcover', 'pstego', 'pcover');
%    stego = features(stego_path, 'hist','space','dct');
%    cover = features(cover_path, 'hist','space','dct');
%    htr = trainModel(stego, cover, 500, 500, 20);
%    save(output_fname,'-append', 'stego', 'cover','htr'); 
%    mstego = features(stego_path, 'abs-diff-markov','space','dct');
%    mcover = features(cover_path, 'abs-diff-markov','space','dct');
%    mtr = trainModel(mstego, mcover, 500, 500, 20);
%    save(output_fname,'-append', 'mstego', 'mcover', 'mtr');
%    pstego = features(stego_path, 'ccpev-274','qf', qf);
%    pcover = features(cover_path, 'ccpev-274','qf', qf);
%    ptr = trainModel(pstego, pcover, 500, 500, 20);
%    save(output_fname,'-append', 'pstego', 'pcover', 'ptr');
end
